package net.xdclass.util;

import org.apache.shardingsphere.core.strategy.keygen.SnowflakeShardingKeyGenerator;

public class IdUtil {
	private static SnowflakeShardingKeyGenerator snowflakeShardingKeyGenerator =new SnowflakeShardingKeyGenerator();

	public static Comparable<?>  generateId(){
		return  snowflakeShardingKeyGenerator.generateKey();
	}
}
